<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>订单管理系统</title>
    <link rel="icon" href="/static/img/favicon.ico">
    <link rel="stylesheet" href="/static/plugins/bootstrap/css/bootstrap.css">
    <style>
        .total {
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            background-color: #cecccc;
        }

        .box {
            width: 400px;
            border: solid 2px #dddd;
            margin: 0 auto;
            margin-top: 100px;
            padding: 0 20px 20px 20px;
        {#添加阴影#} box-shadow: 10px 10px 10px rgb(0 0 0 / 5%);
        }
    </style>
</head>
<body>
<div class="total">
    <div class="box">
        <form action="" method="post">
            {% csrf_token %}
            <h2 class="h2 text-center">账号登录</h2>
            <p class="form-group">
                {{ obj.role.label_tag }}{{ obj.role }}
            </p>
            <p class="form-group">
                {{ obj.username.label_tag }}{{ obj.username }}
            </p>
            <p class="form-group">
                {{ obj.password.label_tag }}{{ obj.password }}
            </p>
            <p>
                <input type="submit" value="登录" class="btn btn-success">
                <span style="color: red">{{ error }}</span>
                <a href="/sms/login.html" class="btn btn-primary" style="float: right;">短信登录</a>
            </p>
        </form>
    </div>
    <div style="width:407px;padding:20px 0;position:absolute;bottom:0;margin-left: 450px">
        <a href="https://beian.miit.gov.cn/" target="_blank">
            <img src="/static/img/备案图标.png" style="float:left;">
            <p style="float:left;margin: 0px 0px 0px 5px;color:#939393;">皖ICP备2023006947号</p>
        </a>
        <p style="float:left;margin: 0px 0px 0px 5px;color:#939393;">|&nbsp&nbsp</p>
        <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=34018102340737"
           style="display:inline-block;text-decoration:none;height:20px;line-height:20px;">
            <img src="/static/img/备案图标.png" style="float:left;"/>
            <p style="float:left;height:20px;margin: 0px 0px 0px 5px; color:#939393;">皖公网安备 34018102340737号</p>
        </a>
    </div>
</div>
</body>
</html>